//
// Created by 王有林 on 2022/7/25.
//

#ifndef WORK_GAME_H
#define WORK_GAME_H
#include <stdio.h>
#endif //WORK_GAME_H
#define ROW 3  //行
#define COL 3  //列
#include <stdlib.h>
#include <time.h>


//初始化数组
void initBoard(char Board[ROW][COL],int row, int col);

//打印棋盘
void PrintBoard(char Board[ROW][COL],int row, int col);

//玩家下棋方法
int paly1(char Board[ROW][COL],int row, int col);

//电脑下棋方法
int paly2(char Board[ROW][COL],int row, int col);

//判断游戏输赢
char IsWin(char Board[ROW][COL],int row , int col);